var tools = require('./tools.js'); //省略后面的js也是可以的
console.log(tools.add(1,2));
console.log(tools.sayHello());